﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using SIM.Geo.BE;

namespace SIM.Geo.SE
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISECanal" in both code and config file together.
    [ServiceContract]
    public interface ISECanal
    {
        [OperationContract]
        List<Canal> ListarCanal();
        [OperationContract]
        int InsertarCanal(Canal canal);
        [OperationContract]
        void ModificarCanal(Canal canal);
        [OperationContract]
        void EliminarCanal(int codigoCanal);
        [OperationContract]
        List<buscarCanales_Result> BuscarCanal(int anio, int codigoZona, int estado, string mes);
        [OperationContract]
        Canal ObtenerCanal(int codigoCanal);
        [OperationContract]
        int GenerarCodigoCanal();
        [OperationContract]
        List<Canal> ListarCanalPorNombre(string nombreCAN);
        [OperationContract]
        bool VerificarExisteCanal(string nombreCAN);
        [OperationContract]
        string GenerarNombreCanal(int anio);
        [OperationContract]
        void ActualizarUbicacionCanal(Canal canal);
        [OperationContract]
        string FinalizarCanal(List<int> codigoCanales);
    }
}
